<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.10.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: I18nMiniManager: Class TI18nMiniManager</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TI18nMiniManager"></a><h1 class="cio">Class TI18nMiniManager</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#@Description">Description</a></td><td><a class="section"  href="#@Hierarchy">Hierarchy</a></td><td><a class="section"  href="#@Fields">Fields</a></td><td><a class="section"  href="#@Methods">Methods</a></td><td><a class="section"  href="#@Properties">Properties</a></td></tr></table>
<a name="@Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="I18nMiniManager.html">I18nMiniManager</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TI18nMiniManager = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
This class manages localization of forms and string constants for user specified languages. Each language stores its lcoalized string in a text file.</p>
<a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TI18nMiniManager</li></ul><h2 class="overview">Overview</h2>
<a name="@Fields"></a><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="I18nMiniManager.TI18nMiniManager.html#FLanguage">FLanguage</a></b>: <a   href="I18nLanguage.TI18nLanguage.html">TI18nLanguage</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="I18nMiniManager.TI18nMiniManager.html#FSearchDir">FSearchDir</a></b>: string;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="I18nMiniManager.TI18nMiniManager.html#FFileExt">FFileExt</a></b>: string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="I18nMiniManager.TI18nMiniManager.html#FOnLanguageChange">FOnLanguageChange</a></b>: TNotifyEvent;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="I18nMiniManager.TI18nMiniManager.html#RegisteredControls">RegisteredControls</a></b>: TObjectList;</code></td>
</tr>
</table>
<a name="@Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="I18nMiniManager.TI18nMiniManager.html#Create">Create</a></b>(ASearchDir: string = ''; AFileExt: string = 'lng'); reintroduce;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="I18nMiniManager.TI18nMiniManager.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#FindLanguages">FindLanguages</a></b>(Strings: TStrings);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#ExportLanguageToFile">ExportLanguageToFile</a></b>(FileName: string);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#SetLanguage">SetLanguage</a></b>(Language: string; TranslateNow: Boolean);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#PerformTranslation">PerformTranslation</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#RegisterControl">RegisterControl</a></b>(Control: TComponent; PerformTranslationForThisControlNow: Boolean = false);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#UnregisterControl">UnregisterControl</a></b>(Control: TComponent);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="I18nMiniManager.TI18nMiniManager.html#ControlTranslateSingle">ControlTranslateSingle</a></b>(Control: TComponent);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="I18nMiniManager.TI18nMiniManager.html#ReadString">ReadString</a></b>(Path: string): string;</code></td>
</tr>
</table>
<a name="@Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="I18nMiniManager.TI18nMiniManager.html#OnLanguageChange">OnLanguageChange</a></b>: TNotifyEvent
      read <a   href="I18nMiniManager.TI18nMiniManager.html#FOnLanguageChange">FOnLanguageChange</a> write <a   href="I18nMiniManager.TI18nMiniManager.html#FOnLanguageChange">FOnLanguageChange</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="I18nMiniManager.TI18nMiniManager.html#Locale">Locale</a></b>: string read GetLocale;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="I18nMiniManager.TI18nMiniManager.html#Language">Language</a></b>: <a   href="I18nLanguage.TI18nLanguage.html">TI18nLanguage</a> read <a   href="I18nMiniManager.TI18nMiniManager.html#FLanguage">FLanguage</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FLanguage"></a><code><b>FLanguage</b>: <a   href="I18nLanguage.TI18nLanguage.html">TI18nLanguage</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Currently loaded language</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FSearchDir"></a><code><b>FSearchDir</b>: string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Autoload .lng files from this dir</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FFileExt"></a><code><b>FFileExt</b>: string;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FOnLanguageChange"></a><code><b>FOnLanguageChange</b>: TNotifyEvent;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="RegisteredControls"></a><code><b>RegisteredControls</b>: TObjectList;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(ASearchDir: string = ''; AFileExt: string = 'lng'); reintroduce;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FindLanguages"></a><code>procedure <b>FindLanguages</b>(Strings: TStrings);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ExportLanguageToFile"></a><code>procedure <b>ExportLanguageToFile</b>(FileName: string);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SetLanguage"></a><code>procedure <b>SetLanguage</b>(Language: string; TranslateNow: Boolean);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PerformTranslation"></a><code>procedure <b>PerformTranslation</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="RegisterControl"></a><code>procedure <b>RegisterControl</b>(Control: TComponent; PerformTranslationForThisControlNow: Boolean = false);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="UnregisterControl"></a><code>procedure <b>UnregisterControl</b>(Control: TComponent);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ControlTranslateSingle"></a><code>procedure <b>ControlTranslateSingle</b>(Control: TComponent);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ReadString"></a><code>function <b>ReadString</b>(Path: string): string;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="OnLanguageChange"></a><code>property <b>OnLanguageChange</b>: TNotifyEvent
      read <a   href="I18nMiniManager.TI18nMiniManager.html#FOnLanguageChange">FOnLanguageChange</a> write <a   href="I18nMiniManager.TI18nMiniManager.html#FOnLanguageChange">FOnLanguageChange</a>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Locale"></a><code>property <b>Locale</b>: string read GetLocale;</code></td>
</tr>
<tr><td colspan="2">
<p>
String represntation of current language</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Language"></a><code>property <b>Language</b>: <a   href="I18nLanguage.TI18nLanguage.html">TI18nLanguage</a> read <a   href="I18nMiniManager.TI18nMiniManager.html#FLanguage">FLanguage</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Access to current language</p>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.10.0</a> on 2007-09-13 21:24:25</em>
</span>
</body></html>
